//
//  YBNews.h
//  解析HTML
//
//  Created by 尚往文化 on 17/9/13.
//  Copyright © 2017年 YBing. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YBNews : NSObject

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *desc;
@property (nonatomic, copy) NSString *url;
@property (nonatomic, copy) NSString *img;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, copy) NSString *category;
@property (nonatomic, copy) NSString *source;
@property (nonatomic, copy) NSString *likenum;
@property (nonatomic, copy) NSString *readnum;

+ (instancetype)newsWithTitle:(NSString *)title desc:(NSString *)desc url:(NSString *)url img:(NSString *)img time:(NSString *)time category:(NSString *)category source:(NSString *)source likenum:(NSString *)likenum;

@end
